package com.heima.model.admin.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 嘉德罗斯
 * @date 2021/11/25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ad_user")
public class AdUser {
    //主键id
    private Integer id;
    //登录用户名
    private String name;
    //登录密码
    private String password;
    //盐
    private String salt;
    //昵称
    private String nickname;
    //头像
    private String image;
    //手机号
    private String phone;
    //状态
    private Short status;
    //邮箱
    private String email;
    //最后一次登录时间
    private Date loginTime;
    //创建时间
    private Date createdTime;
}
